home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 2351 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.4 KB

  1. Path: walrus.megabaud.fi!not-for-mail
  2. From: petrin@walrus.megabaud.fi (Petri Nordlund)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: Foreground task always highest priority?
  5. Date: 16 Feb 1996 18:23:55 +0200
  6. Organization: Megabaud Oy,Helsinki,Finland
  7. Message-ID: <4g2b2r$i9l@walrus.megabaud.fi>
  8. NNTP-Posting-Host: walrus.megabaud.fi
  9.  
  10. Greg Jung (jung@osse.nrl.navy.mil) writes:
  11. >|>  Many modplayers don't know how to allocate CIA-timers, they just
  12. >|>  use them even though some other program has allocated them and is
  13. >|>  currently using them. Executive uses one of the two CIA-timers, so
  14. >|>  the mod-player should use the other one, or complain that no free
  15. >|>  timer is available. Simply use ExecutivePrefs and change the timer
  16. >|>  that Executive uses to "timer.device".
  17. >
  18. >  What is the downside of using the timer device, or not?  Is CIA usage
  19. >  faster?  timer.device has no limits on # of users, I suppose; why
  20. >  isn't this the default behavior of Executive?
  21.  
  22.   Timer.device is not much slower, on my 68030/25MHz I can't measure
  23.   the difference between Executive using timer.device or a CIA-timer.
  24.   Executive uses 0.10% of CPU time with both timers.
  25.  
  26.   There's a better reason why a CIA-timer is used. Timer.device uses
  27.   CIA-B, which has a higher interrupt priority than serial interrupt.
  28.   Slower Amigas can't process the timer interrupts quickly enough, so
  29.   the serial interrupts are blocked and data is lost. This has nothing
  30.   to do with Executive, it happens with all programs that use
  31.   timer.device.
  32.  
  33.   So Executive defaults to using CIA-A on 68000-based Amigas and
  34.   CIA-B on 68020+ Amigas. For Executive V2.00 I'll change this so
  35.   that timer.device will be used for 68020+ Amigas. If you don't
  36.   get serial transfer errors when using timer.device, then you
  37.   should use it instead of a CIA-timer.
  38.  
  39. --                                    __
  40.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~///~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  41.        Petri Nordlund             __///         petrin@megabaud.fi
  42.  ---------------------------------\XX/----------------------------------
  43.      Executive & SysLog development - http://www.megabaud.fi/~petrin
  44. \end
  45. #
  46. -- 
  47.                                       __
  48.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~///~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  49.        Petri Nordlund             __///         petrin@megabaud.fi
  50.  ---------------------------------\XX/----------------------------------
  51.